package com.zlq.cn.dto.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

@Data
public class MovieReportParam {

    @ApiModelProperty(value = "评论id", required = true)
    @NotNull(message = "评论id不能为空")
    private Integer movieCommentId;

    @ApiModelProperty(value = "举报内容", required = true)
    @NotNull(message = "举报内容不能为空")
    @Length(max = 512, message = "举报内容过长")
    private String content;
}
